package com.woniu.param;

import com.woniu.form.ProductForm;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author jiang
 */
@Data
public class AddOrderParam {

    /**
     * 店铺id
     */
    @ApiModelProperty(value = "店铺id")
    private String storeId;

    /**
     * 店铺名字
     */
    @ApiModelProperty(value = "店铺名字")
    private String storeName;

    /**
     * 店铺电话
     */
    @ApiModelProperty(value = "店铺电话")
    private String storePhone;

    /**
     * 菜品数组
     */
    @ApiModelProperty(value = "菜品数组")
    private List<ProductForm> productIds;

    /**
     * 订单总额
     */
    @ApiModelProperty(value = "订单总额")
    private String orderAmount;
    /**
     * 订单总额
     */
    @ApiModelProperty(value = "订单折算前总价")
    private BigDecimal orderDisAmount;
    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private String userId;

    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名")
    private String userName;

    /**
     * 用户电话
     */
    @ApiModelProperty(value = "用户电话")
    private String userPhone;

    /**
     * 送餐地址
     */
    @ApiModelProperty(value = "送餐地址")
    private String userAddress;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;
}
